package com.cloudkinto.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloudkinto.vo.defective.DefProductDto;
import com.cloudkinto.entity.DefectiveProductDo;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hua
 * @since 2024-12-11
 */
public interface DefectiveProductDao extends BaseMapper<DefectiveProductDo> {
    List<DefProductDto> getProducts(Long defectiveId);

    int updateDelete(Long defectiveId, Long userId);
}
